/**
 * This file is part of 1genia trampoline
 * Copyright (C) 2007 1genia (contact@1genia.com)
 *
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; version 3 of the License. 
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details. 
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; see the file COPYING.TXT.  If not,
 * write to the Free Software Foundation, Inc., 51 Franklin Street,
 * Fifth Floor, Boston, MA 02110-1301, USA. 
 **/
package com.genia.toolbox.web.portlet.description.impl;

import java.util.ArrayList;
import java.util.List;

import com.genia.toolbox.web.portlet.description.SimplePortletDescription;
import com.genia.toolbox.web.portlet.description.VariableDescription;

/**
 * implementation of the <code>SimplePortletDescription</code>.
 */
public class SimplePortletDescriptionImpl
    extends AbstractPortletDescription
    implements SimplePortletDescription
{
  /**
   * the name of the spring controller that must generate the content of this
   * portlet.
   */
  private String controllerName;

  /**
   * the list of the descriptions of the parameters of the portlet.
   */
  private List<VariableDescription> parameterDescription = new ArrayList<VariableDescription>();



  /**
   * getter for the controllerName property.
   * 
   * @return the controllerName
   */
  public String getControllerName()
  {
    return controllerName;
  }



  /**
   * setter for the controllerName property.
   * 
   * @param controllerName
   *          the controllerName to set
   */
  public void setControllerName(final String controllerName)
  {
    this.controllerName = controllerName;
  }



  /**
   * getter for the parameterDescription property.
   * 
   * @return the parameterDescription
   */
  public List<VariableDescription> getParameterDescription()
  {
    return parameterDescription;
  }



  /**
   * setter for the parameterDescription property.
   * 
   * @param parameterDescription
   *          the parameterDescription to set
   */
  public void setParameterDescription(final List<VariableDescription> parameterDescription)
  {
    this.parameterDescription = parameterDescription;
  }
}
